package org.jeecg.modules.report.service.impl;

import org.jeecg.modules.report.entity.ReportConfigInfo;
import org.jeecg.modules.report.mapper.ReportConfigInfoMapper;
import org.jeecg.modules.report.service.IReportConfigInfoService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 战图显示配置明细表
 * @Author: jeecg-boot
 * @Date:   2019-08-20
 * @Version: V1.0
 */
@Service
public class ReportConfigInfoServiceImpl extends ServiceImpl<ReportConfigInfoMapper, ReportConfigInfo> implements IReportConfigInfoService {
	
	@Autowired
	private ReportConfigInfoMapper reportConfigInfoMapper;
	
	@Override
	public List<ReportConfigInfo> selectByMainId(String mainId) {
		return reportConfigInfoMapper.selectByMainId(mainId);
	}

	@Override
	public List<ReportConfigInfo> findByMainAndSortId(String configId, String equipSortId) {
		return reportConfigInfoMapper.findByMainAndSortId(configId,equipSortId);
	}
}
